
// export const api = "https://ddine.xxibears.com"
export const api = "http://192.168.100.185:8081"

// 企业配置
export const corpId = "dingdd70d19f2e151dc6a1320dcb25e91351"	// 企业CorpId
export const clientId = "ding7ueqgp2oyayuclq0"	// 应用 Client ID (原 AppKey 和 SuiteKey)
export const secretId = "v-M8IgA9-4txR70FmyxhrKsQ4UQHbJ-1CgLRCAKVq_OhYaPkPO3B9tk0zY4Dcvge"	// 应用 Client Secret (原 AppSecret 和 SuiteSecret)
export const footerName = "Copyright © 2025 精诚智订餐."	// 页脚
export const footerNote = "食堂休假"	// 页脚
export const footerNoteSub = "数量及金额已归零" // 休假页面的描述

// 食堂管理员（满足两者其中之一即可）
export const dineId = "4505464549"	// 钉钉角色ID
export const dineAdmin = "食堂管理员"	// 钉钉角色名称

// 缓存KEY名称
export const authCode = "authCode"	// 免登code
export const authCodeMsg = "authCodeMsg"	// 缓存状态码
export const userInfo = "userInfo"	// 用户信息
export const userDetailInfo = "userDetailInfo"	// 用户信息
export const accessToken = "accessToken"	// 用户access_token

// 后端API地址
export const get_user_dine_data = "/get_user_dine_data/"	// 首页页面数据
export const get_or_create_user = "/get_or_create_user/"	// 获取用户信息
export const ddine_meal = "/ddine_meal/"	// 定/退餐
export const ddine_get_setting = "/ddine_get_setting/"	// 获取全局设置
export const ddine_setting = "/ddine_setting/"	// 更新全局设置
export const ddine_statistics = "/ddine_statistics/"	// 统计份数

// 钉钉接口
export const dingding = "https://oapi.dingtalk.com"
export const gettoken = "/gettoken"	// 获取accessToken
export const getuserinfo = "/user/getuserinfo"	// 获取用户信息
export const getuserdetailinfo = "/user/get"	// 获取用户详细信息

